//
//  StudentRedController.m
//  testApp
//
//  Created by iMac on 2018/2/27.
//  Copyright © 2018年 iMac. All rights reserved.
//

#import "StudentRedController.h"
#import "UIView+Frame.h"



@interface StudentRedController ()

@end

@implementation StudentRedController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    UIColor *tintColor = [UIColor redColor];
    
    UILabel *showControllerLable = ({
        UILabel *lable = [[UILabel alloc] init];
        lable.frame = CGRectMake(0,
                                 self.view.centerY - 100,
                                 [UIScreen mainScreen].bounds.size.width,
                                 200);
        lable.textColor = tintColor;
        lable.backgroundColor = [UIColor whiteColor];
        lable.text = NSStringFromClass(self.class);
        lable.font = [UIFont systemFontOfSize:30];
        lable.textAlignment = NSTextAlignmentCenter;
        lable.numberOfLines = 0;
        lable;
    });
    self.view.backgroundColor = tintColor;
    [self.view addSubview: showControllerLable];
}


- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
}


@end
